package www.sofn.com.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Set;

@Data
@ToString
@Accessors(chain = true)
@EqualsAndHashCode
@Schema(description = "个人信息")
public class   PersonalInfoVo {
    @Schema(description = "id")
    private String id;
    @Schema(description = "用户名")
    private String name;
    @Schema(description = "账号")
    private String username;
    @Schema(description = "电话")
    private String phone;
    @Schema(description = "权限")
    private Set<String> authorities;
    @Schema(description = "角色")
    private Set<String> roles;
}
